<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script src="../node_modules/js-cookie/dist/js.cookie.js"></script>
  <script src="../node_modules/axios/dist/axios.js"></script>
  <script src="../node_modules/qs/dist/qs.js"></script>
  <script src="../dist/auth.js"></script>
  <script>
    console.log(YinduOgilvy)
    var auth = new YinduOgilvy.WeChatAuth({
      appid: '121'
    })
    const res = YinduOgilvy.BaseAuth.setCookie('mimab', {a: 1}, 1)
    console.log(YinduOgilvy.BaseAuth.getCookie('mimab'))
  </script>
</body>
</html>